<%--
  Created by IntelliJ IDEA.
  User: mingz
  Date: 2018/5/1
  Time: 13:52
  To change this trolelate use File | Settings | File Trolelates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/icon.css">
    <script type="text/javascript" src="/static/plugins/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugins/easyui/jquery.easyui.min.js"></script>
    <!--引入中文包-->
    <script type="text/javascript" src="/static/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/index.js"></script>

    <script type="text/javascript" src="/static/js/supplier.js"></script>
</head>
<body>
    <%--角色表格--%>
    <table id="supplier_datagrid">
    </table>

    <%--按钮--%>
    <div id="supplier_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" data-options="plain:true" data-cmd="add"/>新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" data-options="plain:true" data-cmd="edit" />编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-remove" data-options="plain:true" data-cmd="del" />删除</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" data-options="plain:true" data-cmd="refresh" />刷新</a>
    </div>
    <%--表单按钮--%>
    <div id="form_btn">
        <a class="easyui-linkbutton" iconCls="icon-add" data-options="plain:true" data-cmd="saved"/>保存</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" data-options="plain:true"  data-cmd="cancel">取消</a>
    </div>



    <%--弹出窗口--%>
    <div id="supplier_dialog" class="easyui-dialog" data-options="title:'编辑',iconCls:'icon-myedit',closed:true">
        <!--创建表单-->
        <form id="supplier_form" method="post">
            <table align="center" style="margin-top:15px">
                <input type="hidden" name="id"/>
                <%--修改为并列--%>
                <tr>
                    <td align="center">*供 应 商:</td>
                    <td><input name="name" class="easyui-textbox"  prompt="请输入供应商" required="true"/></td>
                </tr>
                <tr>
                    <td align="center">*联 系 人:</td>
                    <td> <input name="linkman" class="easyui-textbox"  prompt="请输入联系人" required="true"/></td>
                </tr>
                <tr>
                    <td align="center">*联系电话:</td>
                    <td><input name="phone" class="easyui-textbox"  prompt="请输入联系电话" required="true"/></td>
                </tr>
                <%--操作人员的下拉框--%>
                <tr>
                    <td align="center">操作人员:</td>
                    <td><input name="inputUser.id" class="easyui-combobox"  value='1'
                               data-options="panelHeight:'auto',textField:'username',valueField:'id',url:'/employee/selectAll.do'"/>
                    </td>
                </tr>
                <tr>
                    <td align="center">客户地址:</td>
                    <td><input name="address" class="easyui-textbox"  prompt="请输入地址"/></td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
